﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Module.BusinessLogic;
using Module.Core.LoginSystem.Commons.Utilities;
using Module.EntitiesInfo;

namespace Web
{
    public partial class doithamgiachitiet : System.Web.UI.Page
    {
        private int clubId;
        protected string ClubName;
        protected string Body;
        protected string CreatedOn;
       
       
      
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                clubId = ConvertUtility.ToInt32(Request.QueryString["ClubId"]) == null ? 0 : ConvertUtility.ToInt32(Request.QueryString["ClubId"]);
                if(!IsPostBack)
                {
                    CMSClubNameInfo info = CMSClubName.GetInfoInsite(clubId);
                    if(info!=null)
                    {
                        ClubName = info.ClubName;
                        Body = info.Body;
                        CreatedOn = Convert.ToDateTime(info.CreatedOn).ToString();
                      

                    }


                }
            }
            catch (Exception)
            {                               
            }
          

        }
       

        protected void btnClose_Click1(object sender, ImageClickEventArgs e)
        {
            HttpContext.Current.Response.Write("<script>window.top.hidePopWinUSER(false);</script>");
        }
    }
}